package ooday05.homework;

public class StaticBlock {
    static{ //加载类的时候会自动执行，只执行一次
        System.out.println("静态块");
    }

    public StaticBlock() {
        System.out.println("构造方法");
    }
}
